<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .card {
        position: relative;
        width: 200px;
        line-height: 26px;
        height: 26px;
        border: 1px solid #eee;
        margin: auto;
      }
      .card i {
        font-size: 16px;
        width: 110px;
        background-color: red;
        float: left;
        text-align: center;
      }
      .card span {
        width: 70px;
        float: right;
        text-decoration: line-through;
        text-align: center;
      }
      .card div {
        position: absolute;
        height: 0;
        width: 0;
        /* border-left: 26px solid blue; */
        border-top: 26px solid red;
        border-right: 26px solid transparent;
        /* border-bottom: 26px solid blue; */
        left: 110px;
        top: 0;
      }
      /* .card span:nth-child(2) {
        position: absolute;
      } */
    </style>
  </head>
  <body>
    <div class="card">
      <i>1999</i>
      <span>2340</span>
      <div></div>
    </div>
  </body>
</html>
